<link rel="stylesheet" href="../dest/css/borrow.min.css">

<div class="container loans">
    <div class="row">
      <div class="col-md-4 one">
        <div class="alert alert1" role="alert">
           信用贷
          </div>
          <div class="alert one-main" role="alert">
            <p>可借金额<i>¥ 2,000.00</i></p>
            <a href="">申请条件</a>
            <p>仅限成都地区</p>
            <ul>
                <li>填写基本资料</li>
                <li>身份认证</li>
                <li>视频认证</li>
            </ul>
            <button class="btn btn-primary btn1" data-type="1">立即申请</button>
          </div>
      </div>
      <div class="col-md-4 one">
        <div class="alert alert2" role="alert">
           车易贷
          </div>
          <div class="alert one-main" role="alert">
            <p>可借金额<i>¥ 2,000.00</i></p>
            <a href="">申请条件</a>
            <p>仅限成都地区</p>
            <ul>
                <li>填写基本资料</li>
                <li>身份认证</li>
                <li>视频认证</li>
            </ul>
            <button class="btn btn-primary btn2" data-type="2">立即申请</button>
          </div>
      </div>
      <div class="col-md-4 one">
        <div class="alert alert3" role="alert">
           房易贷
          </div>
          <div class="alert one-main" role="alert">
            <p>可借金额<i>¥ 2,000.00</i></p>
            <a href="">申请条件</a>
            <p>仅限成都地区</p>
            <ul>
                <li>填写基本资料</li>
                <li>身份认证</li>
                <li>视频认证</li>
            </ul>
            <button class="btn btn-primary btn3" data-type="3">立即申请</button>
          </div>
      </div>
    </div>
  </div>
  <script>
    $('button').click(function(){
      let type=$(this).data('type')
      sessionStorage.setItem('type',type)
      location.href='#personage/borrowapply'
    })
  </script>